import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:shared_preferences/shared_preferences.dart';

import '../constants/sp_key.dart';

class VerificationPwdViewModel extends GetxController {
  var email = "".obs;
  final TextEditingController controller = TextEditingController();

  init(BuildContext context) {
    SharedPreferences.getInstance().then((value) {
      email.value = value.getString(keyEmail) ?? "";
    });
  }
}
